package com.szc.demo01.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.szc.demo01.pojo.Notice;
import com.szc.demo01.pojo.dto.NoticeEmpDto;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NoticeMapper extends BaseMapper<Notice> {


    @Select("select n_id,eid,nmark,edate,ename from notice left join emp on  id=eid")
    public List<NoticeEmpDto> noticelist();
//    public Notice noticeget(Integer n_id);
//    public void noticesave(Notice notice);
//    public void noticedelete(Integer n_id);
//    public void noticeupdate(Notice notice);
}
